<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/cms/block/blocklist" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>区块{$daohang}</h1>
    </div>

    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width:14px">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="width:30px">ID</th>
              <th style="">标题</th>
              <th style="">发布时间</th>
              <th style="">发布人</th>
              <th style="">备注</th>
              <th style="">操作</th>
            </tr>
          </thead>
          <tbody>
            <volist name="list" id="block">
              <tr data-id="{$block['id']}">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$block['id']}</td>
                <td class="align-left"><a href="{:URL('cms/Block/ajax_show', array('id'=>$block['id'], 'type'=>'block', 'cid' => $id))}">{$block['name']}</a>
                </td>
                <td class="align-left">{$block['updatetime']|date="Y-m-d H:i",###}</td>
                <td class="align-left">{$block['update_uname']}</td>
                <td class="align-left">{$block['remark']}</td>
                <td>
                  <php>$name = urlencode(urlencode($block['name']));</php>
                  <a href="{:URL('cms/Block/openFile', array('name' => $name))}" target="_blank" class="A_view">查看</a>&nbsp;|
                  <a href="{:URL('cms/Block/addblock_content',array('id'=>$id,'type'=>$type,'tid'=>$tid,'blockid'=>$block['id']))}" class="ico_top">修改</a>
                  <eq name="Think.session.mid" value="100000000">|&nbsp;<a href="javascript:;" class="A_del">删除</a></eq>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>
    <div class="page-ft">
      <a class="btn" href="{:URL('cms/Block/addblock_content',array('id'=>$id,'type'=>$type,'tid'=>$tid))}" />添加区块</a>
      <eq name="Think.session.mid" value="100000000"><a href="javascript:;" id="J_del" class="btn">批量删除</a></eq>
    </div>
  </div>
</body>

</html>
